steam_file_delete

语法:

steam_file_delete(filename);


参数 描述
filename The name of the file delete.


返回: Real(实数)


描述

This function will delete the given file from the Steam Cloud. The function will return a value of 0 if it fails for whatever reason and a value greater than 0 if it succeeds.


例如:

if steam_file_exists("Save.txt")
   {
   steam_file_delete("Save.txt");
   }

The above code will check to see if a file exists, and if it does, it deletes the file from the Steam Cloud.